package com.gyp.model.common;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页查询参数
 * @author xyb
 * @Description 分页查询参数
 * @since 14:46 2022/7/19
 */
@ApiModel("分页查询参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Search {

    /**
     * 当前页
     */
    @ApiModelProperty("当前页")
    @TableField(exist = false)
    private Integer pageNum = 1;

    /**
     * 条数
     */
    @ApiModelProperty("条数")
    @TableField(exist = false)
    private Integer pageSize = 20;


}
